package com.xxx.blog.base.dao;

import com.xxx.blog.base.domain.UserBase;
import com.xxx.blog.base.domain.UserBaseCriteria;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface UserBaseMapper {
    int deleteByExample(UserBaseCriteria example);

    int deleteByPrimaryKey(Long id);

    int insert(UserBase record);

    int insertSelective(UserBase record);

    List<UserBase> selectByExample(UserBaseCriteria example);

    UserBase selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") UserBase record, @Param("example") UserBaseCriteria example);

    int updateByExample(@Param("record") UserBase record, @Param("example") UserBaseCriteria example);

    int updateByPrimaryKeySelective(UserBase record);

    int updateByPrimaryKey(UserBase record);
}